package cn.qf.input;

import java.util.Scanner;

public class Employee {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        // 员工信息（工号 no、姓名 name、身份证号 id、性别 gender、年龄 age、月薪 salary）
        System.out.println("员工信息：");

        System.out.print("工号：");
        int no = sc.nextInt();

        System.out.print("姓名：");
        String name = sc.next();

        System.out.print("身份证号：");
        String id = sc.next();

        System.out.print("性别：");
        String gender = sc.next();

        System.out.print("年龄：");
        int age = sc.nextInt();

        System.out.print("月薪：");
        float salary = sc.nextFloat();

        System.out.printf("员工信息：{工号：%d, 姓名：%s, 身份证号码：%s, 性别：%s, 年龄：%d, 月薪：%f}",
                no, name, id, gender, age, salary);
    }
}
